Initializes a new instance of the SimpleSeries class.
Namespace: MindFusion.Charting
File: SimpleSeries.js
JavaScript Copy Code |
---|
function SimpleSeries (values, labels) |
Type: List | Array
A list of data values.
Type: List | Array
A list of labels.
The following code creates a SimpleSeries and assigns it to the series property of a FunnelChart. The SimpleSeries uses two arrays:
JavaScript Copy Code |
---|
// create sample data funnelChart.series = new Charting.SimpleSeries([70, 60, 50, 30, 20, 15, 10, 4], ["Unqualified prospects", "Leads", "Initial communication", |